package com.yunc.user.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yunc.common.core.result.R;
import com.yunc.user.sys.entity.SysRoleDept;

import java.util.List;

/**
 * 用户角色数据权限
 *
 * @author congcong tao
 * @create 2020/1/8 13:34
 */
public interface ISysRoleDeptService extends IService<SysRoleDept> {

    boolean insertList(String roleId, String deptIds);

    List<String> listDept(String userId);

    R updateRole(String id, String dataScope, String deptIds);

    List<String> listDeptChild(String userId);

    void updateShop();
}
